
<nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
<desc-list *ngIf="!isLoading">
  <desc-list-item term="姓名">{{ entity.name }}</desc-list-item>
  <desc-list-item term="手机">{{ entity.phone }}</desc-list-item>
  <desc-list-item term="最后登陆时间">{{ entity.lastLoginTime }}</desc-list-item>
</desc-list>
<nz-table #basicTable [nzData]="addressList" [nzShowPagination]="false">
  <thead>
  <tr>
    <th>序号</th>
    <th>省</th>
    <th>市</th>
    <th>区</th>
    <th>详细地址</th>
    <th>是否默认</th>
  </tr>
  </thead>
  <tbody>
  <tr *ngFor="let data of basicTable.data; let i = index;">
    <td>{{i+1}}</td>
    <td>{{data.province}}</td>
    <td>{{data.city}}</td>
    <td>{{data.county}}</td>
    <td>{{data.address}}</td>
    <td>{{data.beDefault|yesNoPipe}}</td>
  </tr>
  </tbody>
</nz-table>
<div class="modal-footer">
  <button nz-button type="button" (click)="close()">关闭</button>
</div>
